package com.kotiln.lgc.sunnyweather.logic.network

import com.kotiln.lgc.sunnyweather.MyApplication
import com.kotiln.lgc.sunnyweather.logic.model.PlaceResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

/**
 *@fileName PlaceService
 *@date2020/11/26  16:20
 *@author PlaceService$
 *@describe TODO
 *@desc
 */
 interface PlaceService{
    @GET("v2/place?token=${MyApplication.TOKEN}&lang=zh_CN")
    fun searchPlaces(@Query("query") query:String): Call<PlaceResponse>
}